x86/spec-ctrl: Misc non-functional cleanup
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 12 Sep 2018 13:36:00 +0000 (14:36 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 14 May 2019 14:37:39 +0000 (15:37 +0100)
commitbac4405a907443f690995695c1589ec614b4a489
tree18c80134a196cca019739165bd8add1c36161f23
parent0d8e6f72980cc17d23389483daa27f5c492c34c3
x86/spec-ctrl: Misc non-functional cleanup

 * Identify BTI in the spec_ctrl_{enter,exit}_idle() comments, as other
   mitigations will shortly appear.
 * Use alternative_input() and cover the lack of memory cobber with a further
   barrier.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 9b62eba6c429c327e1507816bef403ccc87357ae)
xen/include/asm-x86/spec_ctrl.h